<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<h1>字符串，整数，布尔，数组</h1>
		<script>
			var str="Javascript的整数类型";
			console.log(str);
			
			var i=100;
			console.log(i);
			
			var isMan=true;
			console.log(isMan);
			
			var hobby=["乒乓球","唱歌"];
			console.log(hobby);
			console.log(hobby[0]); //数组的下标是从0开始
			console.log(hobby[hobby.length-1]); //最后一个元素
		</script>
	</body>
</html>
